Security | Update Registry entry

Update the contents of one or more fields in the current record when the record is saved if a condition is met (a given value is in a field in the current record). Often (but not exclusively) used to modify Record Level Security security fields.

Usage

This Registry entry can be assigned to users and groups:

Key User User Group Group Group Group
Key 1 User User Group Group Group Group
Key 2 user user group group Default Default
Key 3 Table Table Table Table Table Table
Key 4 table Default table Default table Default
Key 5 Security
Key 6 Update
Key 7 column
Key 8 value
Value settings

where:

column

defines which field should be consulted to look for a matching value.

value

is an EMu based search pattern.

If there is a match of the data in column with the value query, then the Registry entry is used and settings is applied.

Note: If column contains a table of values, each entry is checked against value.

Since value is a pattern, particular attention must be paid if you want to match the complete contents of a field.

For example, to match Registration but not Pending Registration, the pattern ^Registration$ should be used. It is important to remember that value operates in the same way as an EMu search term.

All comparisons of value are case insensitive.

settings

is a semicolon separated list of assignments to columns that is applied if there is a match of the data in column with the value query.

The format of settings is:

column=[+/-]term:[+/-]term:...;column=[+/-]term:...

where:

column

is the name of the column to be modified.

term

is the value to be set in column.

  • If term is preceded by a plus symbol (+), the value is added to the existing list of values.
  • If term is preceded by a minus sign (-), the value is removed from the existing list of values.
  • If no symbol precedes a term, the current contents of column are removed and replaced with term.
  • If more than one term is supplied for a given column, separated by colons (:), each term is applied one after the other.
  • If more than one column is to be modified, each set of column settings is separated by a semicolon (;).